#ifndef _h_featuredata
#define _h_featuredata

struct feature_data
{
	int n, dim;
	int *lab;
	float **a;
	void load_bin(const char *fname);
	void load_obin(const char *fname, int dim);
	void load_txt(const char *fname, int dim);
	void load_svm(const char *fname);

	void save_bin(const char *fname);
	void save_obin(const char *fname);
	void save_txt(const char *fname);
	void save_svm(const char *fname);
};

#endif